﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class TitlePanel : MonoBehaviour
{
    public Text timeText;
    public Button startBtn;

    private void Start()
    {
        startBtn.onClick.AddListener(OnStartBtnClick);
    }

    private void OnStartBtnClick()
    {
        GameManager.Instance.StartGame();
        startBtn.interactable = false;
    }
}
